package com.skq.service;

import com.skq.pojo.Article;
import com.skq.pojo.PageBean;

/**
 * @author skq
 * @data 2024/6/11
 */
public interface ArticleService {
    //添加文章
    void add(Article article);

    //分页查询文章
    PageBean<Article> list(Integer pageNum, Integer pageSize, String categoryId, String state);
}
